package com.dzl.aliyunoss;


/**
 * @Description:阿里云OSS服务常量
 * @author hemiao
 * @time:2017年4月13日 上午10:30:52
 */
public class ALiYunOSSConstant {

	/**
     * accessKeyId
     */
    public static final String OSS_ACCESS_KEY_ID = "LTAITp4SETPL884U";

    /**
     * accessKeySecret
     */
    public static final String OSS_ACCESS_KEY_SECRET = "x8yYMMObVxhGj5leAnK8ujqX8hrqDc";

    /**
	 * endpoint 北京oss服务器地址  http://oss-cn-beijing.aliyuncs.com
	 */
    public static final String OSS_ENDPOINT = "https://oss-cn-beijing.aliyuncs.com";

    /**
     * bucketName
     * 阿里云Oss存储名字
     * 测试环境   test-dzl-mall-upload1
     * 正式环境   dzl-mall-upload
     */
    //public static final String BUCKET_NAME  = "test-dzl-mall-upload1";
    public static final String BUCKET_NAME  = "dzl-mall-upload";

    /**
     * 测试环境oss 文件访问地址：https://test-dzl-mall-upload1.oss-cn-beijing.aliyuncs.com
     * 正式环境oss 文件访问地址：https://img.dingzhilian.com
     */
    //public static final String FILE_LOCATION = "http://test-dzl-mall-upload1.oss-cn-beijing.aliyuncs.com";
    public static final String FILE_LOCATION = "https://img.dingzhilian.com/";

    /**
     * 资料中心文件夹名称
     * data-centre/
     */
    public static final String FILE_TYPE_DATA_CENTRE  = "data-centre/";
    /**
     * 	楚商优品图片文件夹名称
     */
    public static final String CSYP_IMG_CENTRE  = "csyp-img/";
    /**
     * 	赠呗图片文件夹名称
     */
    public static final String ZB_IMG_CENTRE="zb-img/";
    /**
     * 	企福图片文件夹名称
     */
    public static final String WELFARE_IMG_CENTRE  = "welfare-img/";
    /**
     * 	礼呗图片文件夹名称
     */
    public static final String LIBEI_IMG_CENTRE  = "libei-img/";
    /**
     * 	定制链商家SAAS图片文件夹名称
     */
    public static final String BUSINESS_IMG_CENTRE  = "business-img/";
    /**
     * 	商品详情图片文件夹名称
     */
    public static final String GOODS_DETAILS_IMG_CENTRE  = "details-img/";
    /**
     * 	二维码图片文件夹名称
     */
    public static final String QRCODE_IMG_CENTRE  = "qrcode-img/";
    /**
     * 	资料中心文件访问路径
     */
    public static final String DATA_CENTER_ACCESS_URL=FILE_LOCATION+"/"+FILE_TYPE_DATA_CENTRE;
    /**
     * 	楚商优品图片访问路径
     */
    public static final String CSYP_IMG_ACCESS_URL=FILE_LOCATION+"/"+CSYP_IMG_CENTRE;
    /**
     * 	赠呗图片访问路径
     */
    public static final String ZB_IMG_ACCESS_URL=FILE_LOCATION+"/"+ZB_IMG_CENTRE;
    /**
     * 	商品详情图片访问路径
     */
    public static final String GOODS_DETAILS_IMG_ACCESS_URL=FILE_LOCATION+"/"+GOODS_DETAILS_IMG_CENTRE;
    /**
     * 	二维码图片访问路径
     */
    public static final String QRCODE_IMG_ACCESS_URL=FILE_LOCATION+"/"+QRCODE_IMG_CENTRE;
}
